package com.itheima.service;

import com.itheima.dto.UserDto;
import com.itheima.pojo.User;

/**
 * @author CSY
 * 2022/5/18    16:10
 */

public interface UserService {
    /**
     * 查询是否为新用户
     * @param phone
     * @return
     */
    UserDto getUser(String phone);

    /**
     * 新增用户
     * @param userDto
     * @return
     */
    boolean addUser(UserDto userDto);

}
